<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<html xmlns:jsf="http://xmlns.jcp.org/jsf"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html">   
    <h:form>
        <fieldset>
            <legend> Cadastro de Gênero </legend>
            <label jsf:for="nomeGenero">Nome:</label>
            <br/>
            <input type="text" required="true" jsf:value="${genreManagedBean.genre.name}" jsf:id="nomeGenero" size="30"/>
            <br/>
            <br/>
            <input class="button" type="submit" value="Salvar" jsf:action="${genreManagedBean.register}"/>
            <input class="button" type="button" value="Cancelar" jsf:action="${genreManagedBean.cancel}"/>
        </fieldset> 
    </h:form>    
</html>

